﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace FrameWork.web.Web.ServiceHandler
{
    /// <summary>
    /// Description 的摘要说明
    /// </summary>
    public class Description : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";           
            string RespStr = String.Empty;
            string DescrType = context.Request["descrtype"];
            string ObjID = context.Request["objid"];
            RespStr = Slja.BLL.DescriptioBLL.OutputDescrFactory(DescrType, ObjID);
            context.Response.Write(RespStr);
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}